package com.dcy.responsibilitychain;

import lombok.Getter;
import lombok.Setter;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2021/2/2 11:08
 */
@Getter
@Setter
public class PurchaseRequest {

    /**
     * 请求类型
     */
    private int type = 0;

    /**
     * 请求金额
     */
    private float price;

    /**
     * id号
     */
    private int id = 0;

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }
}
